﻿using PHMEE.Constants.MqttInfo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace PHMEE
{
    /// <summary>
    /// 数采器扩展信息表
    /// </summary>
    public class SysParaExtend : Entity<Guid>
    {
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 版本
        /// </summary>
        public string Version { get; set; }
        /// <summary>
        /// 采集站编码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// Mac地址
        /// </summary>
        public string Mac { get; set; }
        /// <summary>
        /// 采集器SN
        /// </summary>
        public string SN { get; set; }
        /// <summary>
        /// 采集器的通信模式（0-未知，1-4g，2-wifi，3-以太⽹）
        /// </summary>
        public int ConnType { get; set; }
        /// <summary>
        /// 采集器类型（0-⽆线SG500Z 20-有线MS800 100-NB101 120-LoraSG500L）
        /// </summary>
        public int DasType { get; set; }
        /// <summary>
        /// 本机IP
        /// </summary>
        public string LocalIp { get; set; }
        /// <summary>
        /// 服务器IP（App配置的Mqtt服务器ip)
        /// </summary>
        public string ServerIp { get; set; }
        /// <summary>
        /// 服务器端口（App配置的Mqtt服务器端口)
        /// </summary>
        public int ServerPort { get; set; }
        /// <summary>
        /// 网关地址
        /// </summary>
        public string GateWay { get; set; }
        /// <summary>
        /// 子网掩码
        /// </summary>
        public string SubnetMask { get; set; }
        /// <summary>
        /// 信号强度
        /// </summary>
        public int RSSI { get; set; }
    }
}
